<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	
	<form action="/teacher/add">
		<table>
			<tr>
				<td>工号</td>
				<td><input type="text" name="emp_no"></td>
			</tr>
			<tr>
				<td>姓名</td>
				<td><input type="text" name="name"></td>
			</tr>
			<tr>
				<td>性别</td>
				<td><input type="text" name="sex"></td>
			</tr>
			<tr>
				<td>出生日期</td>
				<td><input type="text" name="birthday"></td>
			</tr>
			<tr>
				<td>学历</td>
				<td><input type="text" name="degree"></td>
			</tr>
			<tr>
				<td>组织名称</td>
				<td>
				<select name="org_id">
					<c:forEach items="${orgList }" var="o">
					<option value="${o.id}" >${o.org_name }</option>
					</c:forEach>
				</select>
				</td>
			</tr>
			<tr>
				<td>更新</td>
				<td><input type="date" name="update_date"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="提交"></td>
			</tr>
		</table>
	</form>
</body>
</html>